package com.uubx.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * (Policy)实体类
 *
 * @author makejava
 * @since 2020-12-28 20:24:49
 */
@ApiModel(description = "Policy数据")
public class Policy implements Serializable {
    private static final long serialVersionUID = -81833006443132710L;
    /**
     * 保单id
     */
    @ApiModelProperty("保单id")
    private Long id;
    /**
     * 保单号码
     */
    @ApiModelProperty("保单号码")
    private Long number;
    /**
     * 订单id
     */
    @ApiModelProperty("订单id")
    private Long orderId;
    /**
     * 开始时间
     */
    @ApiModelProperty("开始时间")
    private Date plicyStartTime;
    /**
     * 结束时间
     */
    @ApiModelProperty("结束时间")
    private Date plicyEndTime;
    /**
     * 保单状态0为失效1为退保2为保障中
     */
    @ApiModelProperty("保单状态0为失效1为退保2为保障中")
    private Integer status;
    /**
     * 保险表外键id
     */
    @ApiModelProperty("保险表外键id")
    private Integer insuranceId;




    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getNumber() {
        return number;
    }

    public void setNumber(Long number) {
        this.number = number;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Date getPlicyStartTime() {
        return plicyStartTime;
    }

    public void setPlicyStartTime(Date plicyStartTime) {
        this.plicyStartTime = plicyStartTime;
    }

    public Date getPlicyEndTime() {
        return plicyEndTime;
    }

    public void setPlicyEndTime(Date plicyEndTime) {
        this.plicyEndTime = plicyEndTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getInsuranceId() {
        return insuranceId;
    }

    public void setInsuranceId(Integer insuranceId) {
        this.insuranceId = insuranceId;
    }

}